package com.xykj.mapper;

import com.xykj.common.entry.ChinaIndex;
import com.xykj.common.entry.CrawlerLog;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
/**
 * 爬虫类mapper
 */
@Mapper
public interface FCrawlerLogMapper {
    @Insert("INSERT INTO crawler_log (description, url, start_time, end_time, target_table, is_deleted, created_at, updated_by) " +
            "VALUES (#{description}, #{url}, #{startTime}, #{endTime}, #{targetTable}, 0, NOW(), 'system')")
    void insert(CrawlerLog crawlerLog);
}